package com.isoft.hospital.entity;



public class Patient {
    private int p_id;
    private String p_name;
    private String p_sex;
    private int bl_id;
    private String p_adress;
    private String p_sf;


    public Patient() {
    }




    public int getP_id() {
        return p_id;
    }

    public void setP_id(int p_id) {
        this.p_id = p_id;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public String getP_sex() {
        return p_sex;
    }

    public void setP_sex(String p_sex) {
        this.p_sex = p_sex;
    }

    public int getBl_id() {
        return bl_id;
    }

    public void setBl_id(int bl_id) {
        this.bl_id = bl_id;
    }

    public String getP_adress() {
        return p_adress;
    }

    public void setP_adress(String p_adress) {
        this.p_adress = p_adress;
    }

    public String getP_sf() {
        return p_sf;
    }

    public void setP_sf(String p_sf) {
        this.p_sf = p_sf;
    }

    @Override
    public String toString() {
        return "Patient{" +
                "p_id=" + p_id +
                ", p_name='" + p_name + '\'' +
                ", p_sex='" + p_sex + '\'' +
                ", bl_id=" + bl_id +
                ", p_adress='" + p_adress + '\'' +
                ", p_sf='" + p_sf + '\'' +

                '}';
    }
}
